package com.gzsxy.esjy.service.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2022/1/10 19:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_attribute")
@ApiModel(value="Attribute对象", description="类型")
public class Attribute extends BaseEntity {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "属性名")
    private String attrName;

    @ApiModelProperty(value = "分类id")
    private String catId;

    @ApiModelProperty(value = "only:输入框(唯一)  many:后台下拉列表/前台单选框")
    private String attrSel;

    @ApiModelProperty(value = "manual:手工录入  list:从列表选择 ")
    private String attrWrite;

    @ApiModelProperty(value = "可选值列表信息,例如颜色：白色,红色,绿色,多个可选值通过逗号分隔  ")
    private String attrVals;
}
